package com.truyen.persistence.dao;

import java.util.List;

import com.truyen.persistence.dao.base.GenericJpaBaseDao;
import com.truyen.persistence.entity.LoaiTruyenTranh;
import com.truyen.persistence.entity.SearchLoaiTruyenTranh;
import com.truyen.persistence.entity.TruyenTranh;
import com.truyen.utils.PagingInfo;

public interface SearchLoaiTruyenTranhDao extends GenericJpaBaseDao<SearchLoaiTruyenTranh, Long> {

	List<SearchLoaiTruyenTranh> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	SearchLoaiTruyenTranh findByLoaiTruyenTranhVTruyenTranh(
			LoaiTruyenTranh loaiTruyenTranh, TruyenTranh comic);

	List<SearchLoaiTruyenTranh> getLstByLoaiTruyenTranhWithPaging(
			LoaiTruyenTranh loaiTruyenTranh, String orderBy, PagingInfo pInfo);

}
